package com.yanqu.road.entity.wingroom.chakra.data;

import com.yanqu.road.entity.DataObject;

public class UserWingRoomFurnitureRewardRecord extends DataObject {

    /**
     * 玩家ID
     */
    private Long userId;
    /**
     * 家具ID
     */
    private int furnitureId;
    /**
     * 家具等级
     */
    private int level;
    /**
     * 领取时间
     */
    private Long createTime;

    public void setUserId(Long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public Long getUserId() {
        return userId;
    }

    public void setFurnitureId(int furnitureId) {
        if(this.furnitureId != furnitureId) {
            this.furnitureId = furnitureId;
            setUpdateOption();
        }
    }

    public int getFurnitureId() {
        return furnitureId;
    }

    public void setLevel(int level) {
        if(this.level != level) {
            this.level = level;
            setUpdateOption();
        }
    }

    public int getLevel() {
        return level;
    }

    public void setCreateTime(Long createTime) {
        if(this.createTime != createTime) {
            this.createTime = createTime;
            setUpdateOption();
        }
    }

    public Long getCreateTime() {
        return createTime;
    }
}
